package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 案件深析
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_ajsx")
@ApiModel(value="ZbAsAjsxEntity对象", description="案件深析")
public class ZbAsAjsxEntity extends Model<ZbAsAjsxEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "serialNo", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "企业名称")
    @TableField("entName")
    private String entname;

    @ApiModelProperty(value = "案件标题")
    private String target;

    @ApiModelProperty(value = "公告类型")
    @TableField("pType")
    private String ptype;

    @ApiModelProperty(value = "案号")
    @TableField("caseNo")
    private String caseno;

    @ApiModelProperty(value = "案由")
    @TableField("caseReason")
    private String casereason;

    @ApiModelProperty(value = "串联案件数量")
    @TableField("connCnt")
    private String conncnt;

    @ApiModelProperty(value = "串联时间")
    @TableField("connDate")
    private String conndate;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
